package com.zdya.combatdocuments.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 文书库表
 */
@Data
@TableName("document_approval")
public class DocumentApproval {

    @ApiModelProperty(value = "主键")
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "文书编号")
    private String serialNum;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "状态：0-未审批；1-审批中；2-审批结束")
    private String status;

    @ApiModelProperty(value = "创建时间")
    private Long createDate;

    @ApiModelProperty(value = "上链hash")
    private String hash;
}
